package com.chinasofti.etc.alcohol.common;

import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;
import java.util.Random;

public abstract class NumberGenerator {

    public static String genUserNumer(){
        String timePrefix = LocalDateTime.now().format(DateTimeFormatter.ofPattern("yyyyMMddhhmmssSSS"));
        return timePrefix+(new Random().nextInt(8));
    }


}
